﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="TeamPage.aspx.cs" Inherits="SoftballStats.TeamPage" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <link href="Styles/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery-ui-1.8.14.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>
    <script src="Scripts/tablekit.js" type="text/javascript"></script>

    <script>
        jQuery(function () {
            jQuery("#tabs").tabs();
        }); 
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br /><br />
    <center>
    <asp:Panel ID="pnlTeamInfo" runat="server">
        <table>
            <tr>
                <td style="padding:10px;">
                    <asp:Image ID="imgLogo" runat="server" Height="200px" Width="155px" />
                </td>
                <td>
                    <h2><asp:Label ID="lblName" runat="server" /></h2>
                    <h5>Head Coach: <asp:Label ID="lblHeadCoach" runat="server" /></h5>
                    <br /><br />
                    <h4><asp:Label ID="lblSeason" runat="server" /> Record: <asp:Label ID="lblWins" runat="server" /> - <asp:Label ID="lblLosses" runat="server" /></h3>
                </td>
            </tr>
        </table>    
    </asp:Panel>
    </center>
    <br /><br />
    <div id="tabs">
        <ul>
            <li><a href="#roster">Roster</a></li>
            <li><a href="#schedule">Schedule</a></li>
            <li><a href="#stats">Stats</a></li>
        </ul>
        <div id="roster">
            <table id="tblPlayers" class="sortable" runat="server">
                <thead>
                    <tr>
                        <th>NO.</th>
                        <th>NAME</th>
                        <th class="text sortfirstasc">POS</th>
                        <th>BAT</th>
                        <th>THW</th>
                    </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
        </div>
        <div id="schedule">
            <table id="tblSchedule" class="sortable" runat="server">
                <thead>
                    <tr>
                        <th class="date sortfirstasc">Date</th>
                        <th>Visitor</th>
                        <th>V</th>
                        <th>Home</th>
                        <th>H</th>
                        <th>Outcome</th>
                        <th>Location</th>
                    </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
        </div>
        <div id="stats">
            BATTING LEADERS
            <br /><br />
            <center>
            <table>
                <tr bgcolor=#0073ea>
                    <td>
                        <center><asp:Label ID="lblAverageLeader" runat="server" Text="AVERAGE" CssClass="leadersHeader" /></center>
                    </td>
                    <td>
                        <center><asp:Label ID="lblHomeRunsLeader" runat="server" Text="HOME RUNS" CssClass="leadersHeader" /></center>
                    </td>
                    <td>
                        <center><asp:Label ID="lblRBILeader" runat="server" Text="RBI" CssClass="leadersHeader" /></center>
                    </td>
                    <td>
                        <center><asp:Label ID="lblOBPLeader" runat="server" Text="OBP" CssClass="leadersHeader" /></center>
                    </td>
                    <td>
                        <center><asp:Label ID="lblHitsLeader" runat="server" Text="HITS" CssClass="leadersHeader" /></center>
                    </td>
                </tr>
                <tr>
                    <td style="padding:10px;">
                        <center><asp:Image ID="imgAverageLeader" runat="server" Height="150px" Width="150px" />
                        <br />
                        <h4><asp:Label ID="lblAverageLeaderName" runat="server" text="test"/></h4>
                        <h5><asp:Label ID="lblAverageLeaderNumber" runat="server" /></h5>
                        <h5><asp:Label ID="lblAverageLeaderPosition" runat="server" /></h5>
                        <br /><br />
                        <h2><asp:Label ID="lblAverageLeaderStat" runat="server" /><asp:Label ID="lblAverageTie" runat="server" Text=" - TIE" ForeColor="#0073ea" /></h2></center>
                    </td>
                    <td style="padding:10px;">
                        <center><asp:Image ID="imgHRLeader" runat="server" Height="150px" Width="150px" />
                        <br />
                        <h4><asp:Label ID="lblHRLeaderName" runat="server" text="test"/></h4>
                        <h5><asp:Label ID="lblHRLeaderNumber" runat="server" /></h5>
                        <h5><asp:Label ID="lblHRLeaderPosition" runat="server" /></h5>
                        <br /><br />
                        <h2><asp:Label ID="lblHRLeaderStat" runat="server" /><asp:Label ID="lblHRTie" runat="server" Text=" - TIE" ForeColor="#0073ea" /></h2></center>
                    </td>
                    <td style="padding:10px;">
                        <center><asp:Image ID="imgRBILeader" runat="server" Height="150px" Width="150px" />
                        <br />
                        <h4><asp:Label ID="lblRBILeaderName" runat="server" text="test"/></h4>
                        <h5><asp:Label ID="lblRBILeaderNumber" runat="server" /></h5>
                        <h5><asp:Label ID="lblRBILeaderPosition" runat="server" /></h5>
                        <br /><br />
                        <h2><asp:Label ID="lblRBILeaderStat" runat="server" /><asp:Label ID="lblRBITie" runat="server" Text=" - TIE" ForeColor="#0073ea" /></h2></center>
                    </td>
                    <td style="padding:10px;">
                        <center><asp:Image ID="imgOBPLeader" runat="server" Height="150px" Width="150px" />
                        <br />
                        <h4><asp:Label ID="lblOBPLeaderName" runat="server" text="test"/></h4>
                        <h5><asp:Label ID="lblOBPLeaderNumber" runat="server" /></h5>
                        <h5><asp:Label ID="lblOBPLeaderPosition" runat="server" /></h5>
                        <br /><br />
                        <h2><asp:Label ID="lblOBPLeaderStat" runat="server" /><asp:Label ID="lblOBPTie" runat="server" Text=" - TIE" ForeColor="#0073ea" /></h2></center>
                    </td>
                    <td style="padding:10px;">
                        <center><asp:Image ID="imgHitsLeader" runat="server" Height="150px" Width="150px" />
                        <br />
                        <h4><asp:Label ID="lblHitsLeaderName" runat="server" text="test"/></h4>
                        <h5><asp:Label ID="lblHitsLeaderNumber" runat="server" /></h5>
                        <h5><asp:Label ID="lblHitsLeaderPosition" runat="server" /></h5>
                        <br /><br />
                        <h2><asp:Label ID="lblHitsLeaderStat" runat="server" /><asp:Label ID="lblHitsTie" runat="server" Text=" - TIE" ForeColor="#0073ea" /></h2></center>
                    </td>
                </tr>
            </table>
            </center>  
        </div>
    </div>
    <br /><br />
    <center>
    <br /><br />
    <table id="tblTeams" class="sortable" runat="server">
		<thead>
			<tr>
				<th class="nosort">Select</th>
				<th class="sortfirstasc">Name</th>
				<th>Head Coach</th>
				<th class="hidethis">ID</th>
			</tr>
		</thead>
		<tbody>
		</tbody>
	</table>
    </center>
    <br /><br />
    <center><asp:Label ID="lblCurrentSeason" runat="server" ForeColor="Blue" Font-Bold="true" /></center>
    <center><asp:Button ID="btnSelectSeason" runat="server" Text="Select Different Season" PostBackUrl="~/SelectSeason.aspx" /></center>
    <br />
</asp:Content>
